		<div class="row">
	    <div class="col-xs-12">
        <div class="box box-primary">
          <div class="box-header">
            <h3 class="box-title">Persetujuan Surat Jaminan</h3>
          </div><!-- /.box-header -->
          	<span class="notif notif-danger" <?php if(is_string($this->session->flashdata('gagal'))){echo 'style="display:block;"';}else{echo 'style="display:none;"';}?>>
          		<i class="fa fa-check"></i>
          		<?php echo $this->session->flashdata('gagal'); ?>
          		<button type="button" class="close">&times;</button>
          	</span>
            <?php echo form_open('persetujuan_jaminan/login', array('role' => 'form', 'id' => 'form', 'class' => 'form-horizontal'));
	            if(!empty($list)){
		            ?>
		            <div class="box-body">				        
		              <!-- text input -->
		              <div class="form-group">
		                <label class="col-sm-2 control-label">Kode Jaminan</label>
		                <div class="col-lg-5"><?=$list['kd_surat_jaminan'];?></div>
		              </div>
		              <div class="form-group">
		                <label class="col-sm-2 control-label">Nama Peserta</label>
		                <div class="col-lg-5"><?=$list['nama'];?></div>
		              </div>
		              <div class="form-group">
		                <label class="col-sm-2 control-label">Status</label>
		                <div class="col-lg-2">
			                <input type="hidden" name="kd_surat_jaminan" value="<?= $list['kd_surat_jaminan'];?>">
			               	<select class="form-control input-sm" name="status">
			               		<?php
			               			if($list['status_jaminan'] == 'Diterima'){
			               				$sp = "";
			               				$st = "";
			               				$sd = "selected";
			               			}else if($list['status_jaminan'] == 'Ditolak'){
			               				$sp = "";
			               				$st = "selected";
			               				$sd = "";
			               			}else{
			               				$sp = "selected";
			               				$st = "";
			               				$sd = "";
			               			}
			               		?>
				               	<option <?=$sp; ?>>Pending</option>
				               	<option <?=$sd; ?>>Diterima</option>
				               	<option <?=$st; ?>>Ditolak</option>
			               	</select>
		               	</div>
		              </div>
		              <div class="form-group">
		                <label class="col-sm-2 control-label">Keterangan</label>
		                <div class="col-lg-5">
			               	<textarea class="form-control input-sm" name="keterangan"><?=$list['keterangan_verifikator'];?></textarea>
		               	</div>
		              </div>
		              <div class="form-group">
		                <label class="col-sm-2 control-label"></label>
		                <div class="col-lg-5">
		                	<button type="submit" class="btn btn-sm btn-primary btn-flat"><i class="fa fa-floppy-o"></i> Simpan</button>
		                	<?php if (isset($_SERVER['HTTP_REFERER'])) {?>
			               	<input type="hidden" name="redirurl" value="<?php echo $_SERVER['HTTP_REFERER'];?>" />
			               	<?php }?>
		               	</div>
		              </div>
		            </div>		                   
							<?php
						}else{
							echo "Tidak ada data";	
						}
					echo form_close();
					?>
        </div><!-- /.box -->                            
	    </div>
		</div>